import ajax from '@/utils/jsonserver'
// 获取购物车列表接口
export const reqShopcartList =()=>ajax({url:'/data',method:'get'})

export const reqDelShopcart = (id) => ajax({url:`/data/${id}`,method:"delete"})